package com.kt.NetworkModel.bean

/**
 * @author 浩楠
 *
 * @date 2023/10/26-11:42.
 *
 *      _              _           _     _   ____  _             _ _
 *     / \   _ __   __| |_ __ ___ (_) __| | / ___|| |_ _   _  __| (_) ___
 *    / _ \ | '_ \ / _` | '__/ _ \| |/ _` | \___ \| __| | | |/ _` | |/ _ \
 *   / ___ \| | | | (_| | | | (_) | | (_| |  ___) | |_| |_| | (_| | | (_) |
 *  /_/   \_\_| |_|\__,_|_|  \___/|_|\__,_| |____/ \__|\__,_|\__,_|_|\___/
 * @Description: TODO
 */
data class BqueryBean<T> (
    val list: List<T> = ArrayList(),
    val money: Any = Any(), // null
    val pageNum: Int = 0, // 1
    val pageSize: Int = 0, // 10
    val total: Int = 0, // 5
    val totalPage: Int = 0 // 1
){
    //是否能加载更多
//    fun isCanLoadMore() = pageSize == numberOfElements

    fun isRefresh() = pageNum == 1
}